<?php
require_once 'gestorBuscador.php';
$rows = getListaClaseEnergetica();
echo "<select name=\"sc_energetica\" id=\"sc_energetica\">";
echo"<option value='0'>Todas</option>";
while ($row = mysqli_fetch_array($rows)) {
    echo "<option value=\"" . $row['C_ENERGETICA'] . "\">" . $row['C_ENERGETICA'] . "</option>";
}
echo "</select>";
?>
